<?php
/*
# ------------------------------------------------------------------------
# JA Teline III - Version 1.3 - Licence Owner jSharing.COM
# ------------------------------------------------------------------------
# Copyright (C) Lifetime Joomla Just for Sharing, Ltd. All Rights Reserved.
# @license - Copyrighted Commercial Software
# Author: Joomla Just for Sharing
# Websites:  http://jsharing.com -  http://jsharing.net
# This file may not be redistributed in whole or significant part.
# ------------------------------------------------------------------------
*/

// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );

jimport( 'joomla.plugin.plugin' );


/**
 * Plugin System JA Widget
 *
 */
class plgSystemJawidget extends JPlugin
{
	var $_params = null;
	
	function plgSystemJawidget( &$subject, $config )
	{
		parent::__construct( $subject, $config );

		// Do some extra initialisation in this constructor if required
	}

	/**
	 * Do something onAfterInitialise 
	 */
	function onAfterInitialise()
	{
		// Perform some action
		$plugin = &JPluginHelper::getPlugin('system', 'jawidget');
		$this->_params = new JParameter($plugin->params);
		
		/*Include widget base*/		
		require_once( dirname(__FILE__).DS.'jawidget'.DS.'json.php' );
		require_once( dirname(__FILE__).DS.'jawidget'.DS.'widget_base.class.php' );
		
	}

}
?>